
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int fun(char* x)
{
    char* y = x;
    while (*y++);
    return y - x - 1;
}
int main()
{
    char s = "hello!";
    char* s = s;
    char n = 0;
    //*s = s;
    n=fun(s);
    printf("%s\n", n);
	return 0;
}